package com.eidetic.notebook;

import java.io.File;

import com.eidetic.note.INote;
import com.eidetic.note.INoteStore;
import com.eidetic.note.Note;

public class Notebook implements INotebook
{
	private INoteStore storage;
	
	public Notebook(INoteStore storage)
	{
		this.storage = storage;
	}
	
	@Override
	public INote createNote(File picture)
	{
		INote note = new Note(picture);
		storage.addNote(note);
		return note;
	}

}
